package com.yjt.admin.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yjt.common.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 岗位表
 * </p>
 *
 * @author zzp
 * @since 2021-10-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("b_post")
@ApiModel(value = "Post对象", description = "岗位表")
public class Post extends CommonEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位id")
    @TableId(value = "post_id", type = IdType.ASSIGN_ID)
    private String postId;

    @ApiModelProperty(value = "岗位名称拼音")
    private String postNamePy;

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    @ApiModelProperty(value = "岗位类型(1实际0虚拟)")
    private Integer postType;

    @ApiModelProperty(value = "所属上级部门")
    private String superOrgId;

    @ApiModelProperty(value = "排序")
    private Integer sort;


}
